<%%= tb_fixed_toolbar("<%= plural_model_name.humanize %>", <%= namespace_path %><%= plural_resource_name %>_path) do %>
  <%%= tb_add_button_to <%= resource_name.camelcase %> %>
  <%%=tb_search_tool <%= resource_name.camelcase %> %>
  <%%= paginate @<%= plural_resource_name %> %>
<%% end %>

<%%= tb_table_for @<%= plural_resource_name %>, :actions=>[:show,:edit,:delete] do -%>
  <% columns.each do |col| -%><%% column :<%=col.name%>, :title=>"<%=col.name.humanize%>" %> 
  <% end %>
<%%end%>
<%%= paginate @<%= plural_resource_name %> %>
